package com.dale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author Gyt
 * @create 2021-05-24 - 13:39
 */

/**
 * 分类表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_role")
public class Role {
    @TableId(value = "rid", type = IdType.AUTO)
    private Long rid;

    private String name;

    @TableLogic
    private Integer delFlag;

}
